import Vue from 'vue'
import App from './App.vue'
import router from './router'

import Vant from 'vant'
import 'vant/lib/index.css'

// 安装 npm i axios -S --force 并引入axios
import axios from 'axios'
// 在vue原型上绑定axios，并命名为$axios
Vue.prototype.$axios = axios

Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
